package com.ffcs.crmd.tsp.admin.service;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.JobDetailDeath;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface IJobDetailDeathService {
    
    /**
     * 功能说明:
     * 
     * @param jobDetailDeath
     * @throws TspException
     */
    void delete(JobDetailDeath jobDetailDeath) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param jobDetailDeathList
     * @throws TspException
     */
    void delete(List<JobDetailDeath> jobDetailDeathList) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param jobDetailName
     * @param jobName
     * @param jobGroupName
     * @return
     * @throws TspException 
     */
    List<JobDetailDeath> query(JobDetailDeath jobDetailDeath) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param jobDetailName
     * @param jobName
     * @param jobGroupName
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException
     */
    PageInfo<JobDetailDeath> queryPage(JobDetailDeath jobDetailDeath, int pageNumber, int pageSize) throws TspException;

    /**
     * 功能说明:
     * 
     * @param jobDetailDeath
     * @throws TspException
     */
    void reset(JobDetailDeath jobDetailDeath) throws TspException;

    /**
     * 功能说明:
     * 
     * @param jobDetailDeathList
     * @throws TspException
     */
    void reset(List<JobDetailDeath> jobDetailDeathList) throws TspException;
    
}
